<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>bugfree</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/static/vendor/layui/css/layui.css">
  <script src="/static/vendor/jquery.js"></script>
  <script src="/static/vendor/wangeditor/wangEditor.min.js"></script>
  <script src="/static/vendor/layui/layui.all.js"></script>
  <script src="/static/vendor/function.js"></script>
</head>
<body>
<form class="layui-form" action="" style="margin:20px;padding:20px;">
    <input type="hidden" name="id" value="<{$info['id']}>" />
    <div class="layui-form-item">
      <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">项目名称</label>
            <div class="layui-input-inline">
              <select name="app_id" lay-verify="required">
                    <option value="">请选择项目</option>
                    <{volist name='app' id='v'}>
                    <option value="<{$key}>" <{if $key==$info['app_id']}>selected<{/if}>><{$v}></option>
                    <{/volist}>
              </select>
            </div>
          </div>
          <div class="layui-inline">
            <label class="layui-form-label">执行人</label>
            <div class="layui-input-inline">
              <select name="to_user_id" lay-verify="required">
                    <option value="">请选择执行人</option>
                    <{volist name='user' id='v'}>
                    <option value="<{$key}>" <{if $key==$info['to_user_id']}>selected<{/if}>><{$v}></option>
                    <{/volist}>
              </select>
            </div>
          </div>
        <div class="layui-inline">
          <label class="layui-form-label">状态</label>
          <div class="layui-input-inline">
            <select name="status" lay-verify="required">
                <{volist name='status' id='v'}>
                <option value="<{$key}>" <{if $key==$info['status']}>selected<{/if}>><{$v}></option>
                <{/volist}>
            </select>
          </div>
        </div>
      <div class="layui-inline">
        <input type="checkbox" name="tx_sms" title="短息提醒">
        <input type="checkbox" name="tx_email" title="邮件提醒">
      </div>
      </div>
  </div>
      <div class="layui-form-item">
        <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">开始时间</label>
              <div class="layui-input-inline">
                <input type="text" id="min_time" name="start_time" placeholder="开始时间" class="layui-input" value="<{:com_formate_time($info['start_time'])}>">
              </div>
            </div>
          <div class="layui-inline">
            <label class="layui-form-label">完成时间</label>
            <div class="layui-input-inline">
                <input type="text" id="max_time" name="end_time" placeholder="完成时间" class="layui-input" value="<{:com_formate_time($info['end_time'])}>">
            </div>
          </div>
        </div>
    </div>
  <div class="layui-form-item">
    <label class="layui-form-label">标题</label>
    <div class="layui-input-block">
      <input type="text" name="title"  value="<{$info['title']}>" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
    </div>
  </div>
<div class="layui-form-item">
  <label class="layui-form-label">内容</label>
  <div class="layui-input-block">
    <textarea name="content" lay-verify="content" id="layui_textarea_index" placeholder="请输入内容" class="layui-textarea"><{$info['content']}></textarea>
  </div>
</div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="form">添加反馈</button>
    </div>
  </div>
</form>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
  <legend>反馈时间线</legend>
</fieldset>
<ul class="layui-timeline">
    <{volist name='list' id='v'}>
  <li class="layui-timeline-item">
    <i class="layui-icon layui-timeline-axis"></i>
    <div class="layui-timeline-content layui-text">
      <h3 class="layui-timeline-title"><{:com_formate_time($v['create_time'])}></h3>
      <h4 class="layui-timeline-title"><{$user[$v['send_user_id']]}></h3>
      <{$v['content']}>
    </div>
  </li>
    <{/volist}>
</ul>
<script>
$().ready(function(){
    layui.form.render('select');
    layui.form.render('checkbox');
});
</script>
</div>
</body>
</html>
<script type="text/javascript">
	$(document).ready(function(){
		$('.layui-table').parent('div').addClass('table-fix');
	})
</script>
